package com.muyu.danmo.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Administrator
 */

@Getter
@AllArgsConstructor
public enum RealName {
    NO( "未实名",0),
    YES("已实名",1);


    private  final String name;

    @JsonValue
    @EnumValue
    private  final int code;
}
